Entry

constructor(parentElement: DynamicListWidget, texts: Translatable.Result, scope: DynamicListWidget.Scope, visibility: DynamicListWidget.Visibility = Visibility.VISIBLE)

Parameters

parentElement

The DynamicListWidget this entry belongs to.

texts

Translatable.Result text set for this entry. This is used when searching entries.

scope

Scope defines the entries personal scope as well as any entry groups this entry owns and/or belongs to. Basic entries will only need to provide the personal scope id, which might be as simple as the index in string form.

visibility

Visibility, default Visibility.VISIBLE. The starting visibility setting for the entry.